<?php
namespace app\admin\controller;
use app\admin\controller\BaseController;
use think\Request;
/**
 * 
 */
class QuickController extends BaseController
{
	
	function __construct()
	{
		parent::__construct();
	}

	public function indexAction(Request $request){ 
		$m=model($request->param('m'));
		$a=$request->param('a');
		$res=$m->$a($request->param());
		if ($res) {
			$this->success($m->msg);
		}else{
			$this->error($m->getError());
		}
	}
}